package com.onesports.intelligent.k12.polarlight.domain.vo.market;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 订单结算
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Data
@ApiModel(value = "订单结算")
public class OrdersSettlementVO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "结算单号")
    private String settlementNo;

    @ApiModelProperty(value = "结算周期开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "结算周期截止时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "结算时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date settlementTime;

    @ApiModelProperty(value = "订单数量")
    private Integer orderNum;

    @ApiModelProperty(value = "总实付金额")
    private BigDecimal actuallyAmountTotal;

    @ApiModelProperty(value = "团长分账")
    private BigDecimal headSubLedger;

    @ApiModelProperty(value = "教练分账")
    private BigDecimal coachSubLedger;

    @ApiModelProperty(value = "社区分账")
    private BigDecimal campusSubLedger;

    @ApiModelProperty(value = "运营团队分账")
    private BigDecimal organizationSubLedger;

    @ApiModelProperty(value = "平台分账")
    private BigDecimal platformSubLedger;
    @ApiModelProperty(value = "运营团队")
    private String organizationName;


}
